﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IoCNamed.Persistence
{
    class InMemoryPersistence: IPersistence
    {
        private readonly List<object> items = new List<object>();

        public void Add(object obj)
        {
            System.Diagnostics.Debug.WriteLine("InMemoryPersistence.Add");
            items.Add(obj);
        }

        public InMemoryPersistence()
            : base()
        {
        }
    }
}
